package com.dawn.module.hospital.controller.app.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

import static com.dawn.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/8/20 11:25
 */
@Schema(description = "管理后台 - 对账单 Request VO")
@Data
public class BillQueryReqVO {

    @Schema(description = "时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] searchTime;
    @Schema(description = "用户")
    @NotBlank(message = "用户不能为空")
    private String userId;
}
